package com.sams.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SpotUploadExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SpotUploadExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andPropagateimgIsNull() {
            addCriterion("propagateImg is null");
            return (Criteria) this;
        }

        public Criteria andPropagateimgIsNotNull() {
            addCriterion("propagateImg is not null");
            return (Criteria) this;
        }

        public Criteria andPropagateimgEqualTo(String value) {
            addCriterion("propagateImg =", value, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgNotEqualTo(String value) {
            addCriterion("propagateImg <>", value, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgGreaterThan(String value) {
            addCriterion("propagateImg >", value, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgGreaterThanOrEqualTo(String value) {
            addCriterion("propagateImg >=", value, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgLessThan(String value) {
            addCriterion("propagateImg <", value, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgLessThanOrEqualTo(String value) {
            addCriterion("propagateImg <=", value, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgLike(String value) {
            addCriterion("propagateImg like", value, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgNotLike(String value) {
            addCriterion("propagateImg not like", value, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgIn(List<String> values) {
            addCriterion("propagateImg in", values, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgNotIn(List<String> values) {
            addCriterion("propagateImg not in", values, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgBetween(String value1, String value2) {
            addCriterion("propagateImg between", value1, value2, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andPropagateimgNotBetween(String value1, String value2) {
            addCriterion("propagateImg not between", value1, value2, "propagateimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgIsNull() {
            addCriterion("meetingImg is null");
            return (Criteria) this;
        }

        public Criteria andMeetingimgIsNotNull() {
            addCriterion("meetingImg is not null");
            return (Criteria) this;
        }

        public Criteria andMeetingimgEqualTo(String value) {
            addCriterion("meetingImg =", value, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgNotEqualTo(String value) {
            addCriterion("meetingImg <>", value, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgGreaterThan(String value) {
            addCriterion("meetingImg >", value, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgGreaterThanOrEqualTo(String value) {
            addCriterion("meetingImg >=", value, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgLessThan(String value) {
            addCriterion("meetingImg <", value, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgLessThanOrEqualTo(String value) {
            addCriterion("meetingImg <=", value, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgLike(String value) {
            addCriterion("meetingImg like", value, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgNotLike(String value) {
            addCriterion("meetingImg not like", value, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgIn(List<String> values) {
            addCriterion("meetingImg in", values, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgNotIn(List<String> values) {
            addCriterion("meetingImg not in", values, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgBetween(String value1, String value2) {
            addCriterion("meetingImg between", value1, value2, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andMeetingimgNotBetween(String value1, String value2) {
            addCriterion("meetingImg not between", value1, value2, "meetingimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgIsNull() {
            addCriterion("nameListImg is null");
            return (Criteria) this;
        }

        public Criteria andNamelistimgIsNotNull() {
            addCriterion("nameListImg is not null");
            return (Criteria) this;
        }

        public Criteria andNamelistimgEqualTo(String value) {
            addCriterion("nameListImg =", value, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgNotEqualTo(String value) {
            addCriterion("nameListImg <>", value, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgGreaterThan(String value) {
            addCriterion("nameListImg >", value, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgGreaterThanOrEqualTo(String value) {
            addCriterion("nameListImg >=", value, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgLessThan(String value) {
            addCriterion("nameListImg <", value, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgLessThanOrEqualTo(String value) {
            addCriterion("nameListImg <=", value, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgLike(String value) {
            addCriterion("nameListImg like", value, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgNotLike(String value) {
            addCriterion("nameListImg not like", value, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgIn(List<String> values) {
            addCriterion("nameListImg in", values, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgNotIn(List<String> values) {
            addCriterion("nameListImg not in", values, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgBetween(String value1, String value2) {
            addCriterion("nameListImg between", value1, value2, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andNamelistimgNotBetween(String value1, String value2) {
            addCriterion("nameListImg not between", value1, value2, "namelistimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgIsNull() {
            addCriterion("signatureImg is null");
            return (Criteria) this;
        }

        public Criteria andSignatureimgIsNotNull() {
            addCriterion("signatureImg is not null");
            return (Criteria) this;
        }

        public Criteria andSignatureimgEqualTo(String value) {
            addCriterion("signatureImg =", value, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgNotEqualTo(String value) {
            addCriterion("signatureImg <>", value, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgGreaterThan(String value) {
            addCriterion("signatureImg >", value, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgGreaterThanOrEqualTo(String value) {
            addCriterion("signatureImg >=", value, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgLessThan(String value) {
            addCriterion("signatureImg <", value, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgLessThanOrEqualTo(String value) {
            addCriterion("signatureImg <=", value, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgLike(String value) {
            addCriterion("signatureImg like", value, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgNotLike(String value) {
            addCriterion("signatureImg not like", value, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgIn(List<String> values) {
            addCriterion("signatureImg in", values, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgNotIn(List<String> values) {
            addCriterion("signatureImg not in", values, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgBetween(String value1, String value2) {
            addCriterion("signatureImg between", value1, value2, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andSignatureimgNotBetween(String value1, String value2) {
            addCriterion("signatureImg not between", value1, value2, "signatureimg");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andSchidIsNull() {
            addCriterion("schid is null");
            return (Criteria) this;
        }

        public Criteria andSchidIsNotNull() {
            addCriterion("schid is not null");
            return (Criteria) this;
        }

        public Criteria andSchidEqualTo(Integer value) {
            addCriterion("schid =", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidNotEqualTo(Integer value) {
            addCriterion("schid <>", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidGreaterThan(Integer value) {
            addCriterion("schid >", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidGreaterThanOrEqualTo(Integer value) {
            addCriterion("schid >=", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidLessThan(Integer value) {
            addCriterion("schid <", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidLessThanOrEqualTo(Integer value) {
            addCriterion("schid <=", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidIn(List<Integer> values) {
            addCriterion("schid in", values, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidNotIn(List<Integer> values) {
            addCriterion("schid not in", values, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidBetween(Integer value1, Integer value2) {
            addCriterion("schid between", value1, value2, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidNotBetween(Integer value1, Integer value2) {
            addCriterion("schid not between", value1, value2, "schid");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andFinishdateIsNull() {
            addCriterion("finishdate is null");
            return (Criteria) this;
        }

        public Criteria andFinishdateIsNotNull() {
            addCriterion("finishdate is not null");
            return (Criteria) this;
        }

        public Criteria andFinishdateEqualTo(Date value) {
            addCriterion("finishdate =", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateNotEqualTo(Date value) {
            addCriterion("finishdate <>", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateGreaterThan(Date value) {
            addCriterion("finishdate >", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateGreaterThanOrEqualTo(Date value) {
            addCriterion("finishdate >=", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateLessThan(Date value) {
            addCriterion("finishdate <", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateLessThanOrEqualTo(Date value) {
            addCriterion("finishdate <=", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateIn(List<Date> values) {
            addCriterion("finishdate in", values, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateNotIn(List<Date> values) {
            addCriterion("finishdate not in", values, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateBetween(Date value1, Date value2) {
            addCriterion("finishdate between", value1, value2, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateNotBetween(Date value1, Date value2) {
            addCriterion("finishdate not between", value1, value2, "finishdate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}